package com.yunxi.otd.pojo;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.yunxi.core.web.DateJsonDeserializer;
import com.yunxi.vehicle.pojo.VehicleProductViewVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * <p>
 * 月度需求计划明细VO
 * </p>
 *
 * @author
 * @since 2019-05-07
 */
@Data
@ApiModel(value="MonthPlanDetail对象", description="月度需求计划明细VO")
public class MonthPlanDetailVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "月度需求计划明细ID")
    private String monthPlanDId;

    @ApiModelProperty(value = "月度需求计划单号")
    private String monthPlanCode;

    @ApiModelProperty(value = "产品编码")
    private String productCode;

    @ApiModelProperty(value = "产品信息")
    private VehicleProductViewVO product;

    @ApiModelProperty(value = "选装包CODE")
    private String customPackCode;

    @ApiModelProperty(value = "选装包名称")
    private String customPackName;

    @ApiModelProperty(value = "M1月需求总数量")
    private Integer m1Num;

    @ApiModelProperty(value = "M2月需求总数量")
    private Integer m2Num;

    @ApiModelProperty(value = "M3月需求总数量")
    private Integer m3Num;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @JsonDeserialize(using = DateJsonDeserializer.class)
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "最后修改人")
    private String updateBy;

    @JsonDeserialize(using = DateJsonDeserializer.class)
    @ApiModelProperty(value = "最后修改时间")
    private Date updateTime;

    @ApiModelProperty(value = "版本号")
    private Integer version;

    @ApiModelProperty(value = "接口传送标识")
    private Integer isSend;

    @ApiModelProperty(value = "是否删除")
    private Integer isDel;


}
